/*
 * debug.h
 *
 */

#include <stdio.h>
#include <stdlib.h>

#ifdef	_DEBUG

#define TRACE(x, args ...) fprintf(stderr, "[%s, %s:%u] " \
x, __FILE__, __FUNCTION__ ,__LINE__, ## args)
#else
#define TRACE(x, args ...)

#endif	/* _DEBUG */
